Then Judas and his brothers said, "See, our enemies are crushed; let us go up to cleanse the sanctuary and dedicate it." So all the army assembled and went up to Mount Zion. There they saw the sanctuary desolate, the altar profaned, and the gates burned. In the courts they saw bushes sprung up as in a thicket, or as on one of the mountains. They saw also the chambers of the priests in ruins. Then they tore their clothes and mourned with great lamentation; they sprinkled themselves with ashes and fell face down on the ground. And when the signal was given with the trumpets, they cried out to Heaven.[1 Maccabees 4:36-51 (NRVSCE)]
Then Judas detailed men to fight against those in the citadel until he had cleansed the sanctuary. He chose blameless priests devoted to the law, and they cleansed the sanctuary and removed the defiled stones to an unclean place. They deliberated what to do about the altar of burnt offering, which had been profaned. And they thought it best to tear it down, so that it would not be a lasting shame to them that the Gentiles had defiled it. So they tore down the altar, and stored the stones in a convenient place on the temple hill until a prophet should come to tell what to do with them. Then they took unhewn stones, as the law directs, and built a new altar like the former one. They also rebuilt the sanctuary and the interior of the temple, and consecrated the courts. They made new holy vessels, and brought the lampstand, the altar of incense, and the table into the temple. Then they offered incense on the altar and lit the lamps on the lampstand, and these gave light in the temple. They placed the bread on the table and hung up the curtains. Thus they finished all the work they had undertaken.
The comment about storing the stones until a prophet came to tell them what to do with them is interesting, and I think marks a major theme in 1 Maccabees, the problem of how to live faithfully in a time of trial when there are no trustworthy prophets to guide you (which is explicitly mentioned in 9:27 and 14:41, as well).