OAKLAND, Calif., April 7 (Ticker) -- While All-Star Yao Ming was very accurate in the post, rookie Luther Head was just as precise from the perimeter.

Yao collected 30 points and 14 rebounds and Head scored 26 points on 8-of-9 shooting - including 6-of-7 from the arc - as the Houston Rockets ended a three-game losing streak with a 100-93 victory over the Golden State Warriors, who lost their season-high seventh consecutive contest.

NBA TV highlights from
Rockets-Warriors:
Play
Yao made 12-of-22 shots and all six of his free throws and Head, who missed his season high by two points, added eight boards. Rafer Alston finished with 16 points and nine assists for the Rockets, who improved to 1-3 on their six-game road trip.

After trailing 91-86 with 4:03 to go, Houston tallied the next 10 points for a 96-91 lead with 1:49 left to play. Yao ignited the spurt with a three-point play and capped it by finding Alston and Head for back-to-back wide-open 3-pointers.

"Any situation like that, where we have Yao doubled, he has confidence to kick it out to us," Head said. "We've got a lot of confidence in ourselves to knock it down like we did."

Trailing 98-93 with 19 ticks remaining, the Warriors dribbled away precious seconds before center Adonal Foyle shot an air ball to seal the win for the Rockets.

"I don't know," Foyle said. "I just tried to figure out and read (the defense) and take the ball over to Mike (Dunleavy Jr.) and give Mike the opportunity to create with the ball. I didn't realize the clock was running down, so I tried to heave the ball up to the basket."

Jason Richardson scored 29 points and Derek Fisher added 17 for Golden State, which lost three of its four matchups with Houston this season.

"The whole season's been frustrating," Richardson said. "We're a good team and we're not supposed to be losing like the way we're losing."

The Rockets let a 55-45 halftime lead go to waste as they were outscored, 31-18, in the third quarter en route to a 76-73 deficit entering the final period.

"We had a horrible third quarter and we got the opportunity in the fourth to get back into it and that's what we did," Head said. "We played better defense to get us back in the game."