I think Yao had been officiated reasonably fair in international games until this world games. Talking to Shaq is not gonna help because Shaq is being mistreated by refs as well and he seems have no idea how to help himself out of that problem.
Last Olympics Yao also complained once about the referee, even said something like "I don't welcome them in Beijing 2008" (yes, I remember this very well). Interesting thing is Yao's not afraid of commenting referees in international game, but seldom (or never) did this in NBA. Right, Shaq doesn't handle this situation well, either. Then maybe they can share the experience of being screwed.