Answer:
Praise be to Allah, the Lord of the World; and may His blessings and peace be upon our Prophet Muhammad and upon all his Family and Companions.
Initially, prayers are correct and do not need to be made up again if performed in any pure and clean place. The evidence for this is the Hadith reported by
al-Bukhari and
Muslim from
Jabir Ibn Abdullah who narrated that the Prophet (Sallallahu Alaihi wa Sallam) said:
"The earth was made a clean and pure place for me (to pray in)" .
So, if the ground of the place where you pray is pure clean and outside the toilet itself then there is no objection to your praying there since your aim is to perform the prayers in that fixed times.
We ask Allah to increase willingness to do the good and stick to the truth.
Allah knows best.