Rivers' team was coming off an impressive road win at Miami heading into Saturday's game at the Grizzlies, who trailed by as much as 11 points before tying it up late in the fourth quarter.
"We didn't close out the game," said Rivers, whose team went 3-1 on the road trip. "We had great shots offensively. But I was just upset we let them score twice back-to-back. We'll take the trip."
Boston had a four point lead late in the fourth quarter, but Rudy Gay's short pull-up jump shot for Memphis with 7.3 seconds left in regulation tied it at 99.
Celtics forward Glen Davis hit a jump shot and Allen dropped in an arching 3-pointer to give the Celtics a 104-99 advantage in overtime.
Pierce made four free throws in the final 1:30 to seal Boston's seventh win in its last eight games.
Gay had 22 points for the Grizzlies. Memphis forward Zach Randolph scored 21 points and grabbed 11 rebounds.
Celtics center Shaquille O'Neal scored 18 points in his second game back after missing five with a bruised knee, and Rivers called his play "phenomenal." Rajon Rondo had 11 points and 17 assists, the fourth time he has reached or exceeded that total this season.
"Excellent trip," said O'Neal, whose 18 points were his season high. "We're 8-2, and if we can go 8-2 out of every 10, I will be very happy ... We should be 10-0, so we're playing well."
Allen scored 15 points after going for a season high 35 in a 112-107 win at Miami on Thursday. Allen scored 13 of his points in the fourth quarter and overtime.
Memphis grabbed its first lead of the game when a short shot by Gay made it 86-85 with 6:46 left in the game.
|More on Celtics at Grizzlies|
|Facts & Rumors|
A layup by Gay gave the Grizzlies a three point lead, but the Celtics went on an 8-2 run to take a 97-94 lead on a Davis layup with three minutes left.
Allen's jumper made it 99-95 before Gay scored two baskets in the final 39 seconds to force overtime.
"We let them get back into it," O'Neal said. "Last game on the road trip, and that's not really an excuse, but we let them get back into it. But we had five extra minutes to calm down, and I think we did. Guys hit some big shots."
Boston is 3-0 in overtime this season, while Memphis is 0-2. The Celtics now have five consecutive wins at FedExForum.
Grizzlies center Marc Gasol praised his team's second half rally. Memphis tightened up its defense to hold Boston to just three points over the final 4:07 of the third quarter. Two free throws by Gasol tied it at 73, igniting the crowd heading into the fourth.
"That's how good teams play," said Gasol, who had 14 points and six rebounds. "As soon as the fourth quarter started, things started getting hotter and every basket was a dogfight."
Grizzlies owner Michael Heisley honored Gay before the game with a Rolex watch for his contribution to the U.S. men's national team's gold medal performance at the 2010 FIBA World Championships. Gay averaged 7 points and 2.9 rebounds in nine games in Turkey.
|Ray Allen scores 13 of his 15 points in the fourth and OT, including a key 3-pointer in the extra period. (Getty Images)|
|Boston (8-2) «||27||27||19||26||17||116|
|BOS:P. Pierce 28 Pts
BOS:K. Garnett 9 Reb
BOS:R. Rondo 17 Ast
|MEM:R. Gay 22 Pts
MEM:Z. Randolph 11 Reb
MEM:M. Gasol 5 Ast
|Players of the Game|
|R. Rondo, PG||44||5-10||1-5||5||17||2||11|
|P. Pierce, SF||43||9-13||9-9||3||4||5||28|
|R. Allen, SG||40||5-11||2-2||1||5||3||15|
|K. Garnett, PF||37||8-15||2-4||9||2||0||18|
|S. O'Neal, C||22||7-10||4-5||6||0||5||18|
|G. Davis, PF||39||4-8||1-1||3||2||2||9|
|M. Daniels, SG||18||1-3||0-0||2||0||2||2|
|N. Robinson, PG||13||6-8||0-0||1||2||1||15|
|S. Erden, C||7||0-0||0-0||2||0||1||0|
|V. Wafer, SG||2||0-0||0-0||0||0||0||0|
|J. O'Neal, C||Did Not Play|
|K. Perkins, C||Did Not Play|
|D. West, SG||Did Not Play|
|A. Bradley, PG||Did Not Play|
|L. Harangody, PF||Did Not Play|
|Complete Box Score|
|R. Gay, SF||49||10-18||2-2||6||4||3||22|
|M. Gasol, C||43||4-9||6-7||6||5||5||14|
|Z. Randolph, PF||40||10-14||1-2||11||1||3||21|
|M. Conley, PG||38||3-10||6-6||1||4||3||13|
|O. Mayo, SG||33||5-14||2-3||2||1||3||12|
|T. Allen, SG||21||4-7||3-4||4||3||1||11|
|D. Arthur, PF||17||3-6||0-0||6||0||1||6|
|G. Vasquez, PG||12||3-3||0-0||2||2||3||7|
|H. Thabeet, C||6||1-1||0-0||0||0||1||2|
|X. Henry, SG||4||1-1||0-0||0||0||0||2|
|A. Law, PG||3||0-0||0-0||0||0||0||0|
|H. Haddadi, C||Did Not Play|
|D. Carroll, SF||Did Not Play|
|S. Young, SF||Did Not Play|
|Complete Box Score|