Bruins land all-time great Jaromir Jagr
The conditional second-round pick will turn into a first-round selection in the 2013 draft if Boston advances to the Eastern Conference finals.
The prospects in the deal are forwards Lane MacDermid, who had been playing with Providence of the AHL, and Cody Payne of the Plymouth Whalers of the Ontario Hockey League.
The Bruins tried to acquire Jarome Iginla from the Calgary Flames last Thursday, but Iginla went to the Pittsburgh Penguins.
Jagr leads the Stars this season with 14 goals and 26 points. He has 679 goals and 1,000 assists in 1,380 career games.
"Jaromir Jagr produced as a consistent scorer for our team all year and we would like to thank him for his contributions to our hockey club," Stars general manager Joe Nieuwendyk said. "With our eye to the future, we have acquired some valuable assets that we believe strengthen our organization."
MacDermid, 23, has no points in eight games over two seasons with the Boston Bruins.
He has four goals, two assists and 82 penalty minutes in 37 games for Providence.
Payne, 19, has 24 goals and 45 points for Plymouth this year.