SAN JOSE, Calif. (AP) -- Jonathan Huberdeau scored 1:38 into overtime after San Jose's Joe Pavelski scored twice late in the third period to tie it, and the Florida Panthers beat the Sharks 6-5 on Wednesday night.
Nick Bjugstad and Aleksander Barkov each scored twice for the Panthers, who have won five of six games. Jussi Jokinen also scored.
Jaromir Jagr assisted on Barkov's second goal for his 1,900th NHL point. Sharks' fans gave him a nice ovation.
More from FoxSports
Brent Burns, Joel Ward and Marc-Edouard Vlasic also scored for the Sharks, who have lost five of six.
Roberto Luongo stopped 29 of 34 shots for Florida and had to leave the game with a lower-body injury with 38 seconds left in the third period. He was replaced by James Reimer, who stopped two shots.
Martin Jones made 16 saves for San Jose.
Pavelski scored first with 3:21 left in the third, then tied it with 37.4 seconds left by firing in a loose puck from the slot. Luongo was injured on the latter goal.
The teams combined to score five times in 11 minutes during the first period.
Jokinen put the Panthers on the board less than five minutes into the game off a nice pass from Reilly Smith, but the Sharks tied it 30 seconds later. Pavelski picked off a lazy pass in the Panthers' zone and fed it to Burns, who fired a long-distance shot past Luongo.
Bjugstad scored his first goal after taking a long pass from Erik Ekblad. Barkov added his first goal two minutes later.
The Sharks rallied from the 3-1 deficit with goals by Ward and Vlasic before Pavelski missed a penalty shot.
Bjugstad and Barkov each added goals in the third period before Pavelski's rally.
Burns' goal was his 300th point with the Sharks. ... Ekblad ended a seven-game run without a point, which matched his season high. ... Barkov has a goal in each of his last three games and a point in the four games he's played since returning from injury. ... Bjugstad has goals in back-to-back games for the first time this season. ... Sharks' F Kevin Labanc has four assists in the three games he's played since returning from a short stint in the AHL. He had one assist Wednesday.
Panthers: Continue their road trip with a game at Anaheim on Thursday night.
Sharks: Travel to Arizona for a game Saturday night.