Werenski had the secondary assist when Charlie Coyle scored an empty-net goal with 17 seconds left for the 5-3 final.
"It's not an easy building to play in," Werenski said. "Really talented team, some of the best players in the world. So, for a number of years, it was extremely difficult to get points. And even tonight, it was a hard win for us."
Luca Del Bel Belluz scored twice, Knies had a goal and an assist, and Cam Talbot made 22 saves for the Blue Jackets (10-14-1), who had lost three in a row (0-2-1) and eight of 10 (2-7-1).
Columbus played without coach Rick Bowness, who had a setback in his recovery from a recent ailment that had him miss three games from Nov. 12-17.
"First of all, we need the win," Blue Jackets assistant coach Don Granato said. "And we needed to compete. ... We were slow to start, obviously, but we picked it up competitively through the game."
Evgeni Malkin, Connor Dewar and Samuel Girard scored, and Sergei Murashov made 25 saves for the Penguins (9-16-2), who had won two straight after losing the previous five in regulation. They were 16-0-3 against the Blue Jackets at home since a 2-1 loss on Nov. 13, 2015.
"It's an ugly game, so you have to find a way to win. That's what good teams do," Pittsburgh defenseman Kris Letang said. "We had a good chance. We had a bunch of good chances, but you can't only rely on that to get us a win."
Dewar put the Penguins ahead 1-0 just 13 seconds into the first period with a one-timer from the left circle set up by Blake Lizotte's backhand pass from below the goal line. It was their fastest game-opening goal since Sidney Crosby scored 10 seconds into a 4-3 overtime loss to the Ottawa Senators on April 7, 2015.