Once the Pyramids are done their biggest benefit is the granaries in every city. So I think the theory is that once you have the wonder you get the points for its benefits. In the case of the Pyramids you get points for all those granaries, plus the extra cash from no Granary maintenance.