Basically, only major mode works chordally, the way we traditionally think. Minor scales are separate from the minor mode. There are lots of different minor scales, harmonic minor, melodic minor, natural minor, you can look these up easily. With minor, there is a basic set of notes that we form chords out of, but when moving horizontally, rather than vertically, (note to note as time progresses vs simultaneous sounds) we often use different sets of notes accepted as belonging to various minor scales, rather than the minor mode. In addition, in order to function tonally, the chord based on the 5th scale degree must be modified to be a dominant type, which means raising scale degree 7. There are many reasons why, and without an aural demonstration of why things work they way they work, you will be just be learning by rote have no true understanding. That's why it's hard to do this over the net.
On paper, confusion reigns supreme. You can have chromatic alterrations that will throw you for a loop on paper. You have to listen to determine the function of each note.
Wait, are you talking about the second guitar solo that ends the song? That's definitely in b minor. We should establish that this song's chords do not exactly function tonally. Unfortunately, it is not entirely pentatonic since he definitely plays C# many times as a prominent note in his solo. I'm not so sure about the 5 notes you named in your original post. However, what he does do, primarily, is play the minor pentatonic blues that Daygloworange mentioned. I don't think he ever hits scale degree 6 in bminor, though. So, excepting chromatic alterrations and that scale degree 2 he plays during the slow parts of his solos, the faster improv'ed parts are essentially the minor pentatonic scale. IMO. This is not clean and cut.