Compound of 牛 (ushi, “cow”) + 小屋 (koya, “pen”). The koya changes to goya as an instance of rendaku (連濁).
牛(うし)小(ご)屋(や) • (ushigoya)