The original answer says to catch Jirachi at the place where Shaymin was caught after obtaining and playing the Azure Flute.