Most of those defectors were in the House Freedom Caucus — a group that includes roughly 40 of the House GOP's most conservative members who would have been unlikely to support anyone who was not an ideologically pure conservative as speaker.
Ryan's Prosperity Action PAC — which doles out money to curry favor with his House colleagues — gave $35,000 spread among those five members who did not vote for him for speaker.
Ryan's leadership PAC has given $12,500 since 2010 to Rep. Daniel Webster, R-Fla., who ran for speaker and did not cast a ballot for anyone during Thursday's vote. The PAC gave him $5,000 in 2010 during his tough race against Rep. Alan Grayson, D-Fla. In 2012, Webster received $2,500 from Ryan, and another $5,000 from Ryan's PAC in 2014.
Paul's leadership PAC made a $5,000 contribution to Rep. Paul Gosar, R-Ariz., in 2010, and another $2,500 in 2012.
Reps. Thomas Massie of Kentucky, Randy Weber of Texas and Ted Yoho of Florida each got a $5,000 contribution from Ryan's leadership PAC in 2012.
Ryan has been very generous to the House's most conservative members over the past four election cycles, the CQ Roll Call analysis shows.
Since 2010, Ryan's leadership PAC gave $123,000 to the 31 Republicans who were members of both the HFC and the Republican Study Committee.
The 39 members of the HFC received an average of $3,615 per member, according to the analysis, while the 168 members of the RSC — another group of stalwart conservatives — received an average of $6,050 per member.
Ryan's leadership PAC has given the most to the Main Street Partnership — a group of 67 moderate Republicans who often push for issues important to the business community. Ryan's PAC has given an average of $10,888 to each Main Street Partnership member.
The next biggest benefactor was The Tuesday Group, another group of House GOP moderates, which has 55 members. The 53 identified members of that group each received an average of $10,528 per member since 2010.
Clarification Oct. 30, 9:30 a.m. | 31 Republican members of Congress who were members of both the HFC and RSC received $123,000 from Ryan's PAC since 2010.
Related: Roll Call Race Ratings Map: Ratings for Every House and Senate Race in 2016 Get breaking news alerts and more from Roll Call in your inbox or on your iPhone.