Philadelphia entered as one of the worst penalty-killing teams in the NHL and continued to struggle. The Flyers killed off only five of Florida's eight power plays.
Jokinen gave the Panthers a 2-1 lead midway through the second period when he knocked in his third goal of the season after Pitkanen was whistled for hooking.
Gelinas made it 3-1 on Florida's only even-strength goal.
After Gagne pulled the Flyers to 3-2 on Philadelphia's lone power-play goal, Philadelphia again was done in by penalties.
Keith Primeau was hit with a double-minor in the waning minutes of the second period for holding and unsportsmanlike conduct. With the penalty carrying over into the third, the Panthers again capitalized.
"I guess I probably did get him with the stick, so then I lost it, but with the new rules, they've got to show a little bit of patience with us as well," Primeau said.
Huselius scored from the slot off a rebound, catching Esche out of position. Esche had 30 saves.
Gagne made it 4-3 when he scored with each team a man down. Forsberg assisted on both of Gagne's goals, giving him a league-high 14.
"Every time I pass to Simon, there's a bigger chance he's going to score than I'm going to score," Forsberg said. "I'm going to give it up to him every time even if I didn't have a goal."
Gelinas was called for freezing the puck in the crease with 4:28 left in the third, setting up Forsberg's penalty shot. With the crowd standing and going wild, Forsberg couldn't convert -- shooting high and wide of the net.
"I thought it was in when I shot it," Forsberg said. "I didn't think I missed by a whole lot."
The Panthers wasted little time in scoring on the power play. Horton scored his sixth goal only 10 seconds after Derian Hatcher
was called for hooking midway through the first.
Carter made it 1-1 on his first goal on the same ice where he led the Flyers' AHL-affiliate Phantoms to the Calder Cup months earlier.
The Panthers will take Friday off and can stay with their families in Orlando. They'll practice in Kissimmee before flying out for Monday's game in Toronto. ... Florida will play 15 of its last 24 games at home. ... Luongo started his 11th straight game. ... The Flyers were 1-for-7 on the power play.
Copyright by STATS LLC and The Associated Press
Arena: Wells Fargo Center Location: Philadelphia, Pennsylvania
Referees: Tom Kowal, Tim Peel Linesmen: Pierre Champoux, Brian Murphy
Attendance: 19,533 (100.2% full)
Team Stat Comparison
Power Play Goals
Power Play Opportunities
Shots on Goal
Nathan Horton (6)
(Power Play) Assists: Stephen Weiss, Olli Jokinen
Jeff Carter (1)
Assists: Joni Pitkanen, Jon Sim
Olli Jokinen (3)
(Power Play) Assists: Nathan Horton, Mike Van Ryn
Martin Gelinas (3)
Assists: Serge Payer, Juraj Kolnik
Simon Gagne (8)
(Power Play) Assists: Peter Forsberg, Keith Primeau
Kristian Huselius (2)
(Power Play) Assists: Sean Hill, Jay Bouwmeester
Simon Gagne (9)
Assist: Peter Forsberg
Peter Forsberg (1)
Assists: Simon Gagne, Eric Desjardins
Joni Pitkanen (2)
Assists: Eric Desjardins, Keith Primeau