We do not currently know of any antonyms for just for the fun of it.
For similar words to just for the fun of it, try: