This probably won’t be included in the Dallas Mavericks’ end-of-the-season highlight reel, but they’ll take it just the same.

The young and gritty Philadelphia 76ers made the Mavs sweat until the very end Monday night at American Airlines Center before Dallas eked out a 97-94 triumph.

Monta Ellis shook off a slow start to tally 19 of his team-high 24 points in the second half as the Mavs (7-4) opened their three-game homestand on a solid note.

In addition to Ellis, the Mavs had some other players do some heavy lifting. Dirk Nowitzki wound up manufacturing his first double-double since February as he collected 20 points and 10 rebounds.

Shawn Marion battled mightily and finished with 20 points, seven rebounds and two steals, and Jose Calderon fired in 14 points.

The game marked some changes for the Mavs, who had been rock-steady in using the same starting lineup for the first 10 games this season. However, against the Sixers, Jae Crowder started in place of Samuel Dalembert and the move almost prove detrimental to the Mavs.

Crowder had a miserable night, finishing with just two points, six rebounds and three turnovers and made only 1 of 8 shots.

Meanwhile, Dalembert, who used to play for the Sixers, battled gamely and collected eight points, a season-high 14 rebounds and three blocks.

Also, in his short but impressive debut, rookie point guard Shane Larkin had three points, three assists and three steals in only nine minutes.

Ellis tallied 13 of the 31 points in the third quarter when the Mavs finally seized some control. Ellis added six points in the fourth quarter when the Sixers were still clinging to the Mavs.

“It was just the timing and the flow of the game,” Ellis said, referring to when he found the ball often in his hands during the crucial moments. “It was something that Coach went to, and my teammates look for me to make plays now, not only for myself, but for others.

“And they put me in a great position, and that’s what I tried to do.”

Ellis found his teammates for a season-high 10 assists. One of them came when he found Dalembert for a dunk and an 88-81 Mavs lead.