Witch academy shouldn't be required. When you enter the temple map (don't know what it's called, the place you found the gems) go to the right where you'll find some sort of oasis. At the top left there's a chalice-torch-thing with wich you should interact. Use the gems in the correct order and the temple will be restored (or at least get more green).