The name should be spelled 'Murphreesboro', an older spelling variant that we see in the Official Records being Murphreesborough.
Five men named Kennedy served in the "Barbour Blues", which became Company "I", 39th Alabama Regiment. All appear on the 1860 census of the western half of Barbour County, households numbered 166, 169 and 170. These are Daniel C., age 20; Henry S., age 19; James M., age 23; Robert L., age 18; Thomas M., age 25. According to the 1907 state census of Confederate veterans, Thomas was born on March 6, 1838, White Pond, Barbour County AL. The same source includes Houston Spencer, born Sept. 27, 1841, Laurens Dist., SC. If you're related to one of these men, you may well be related to all. The two Shelbys in Company "C" are found in western Barbour, households 890 and 903.
Your information about these men being seriously wounded in battle doesn't match the casualty list for this regiment composed after the battle. Can you tell us about your source?